/**
 * @author 太阳当空丶赵
 * @date 2022/12/1-22:39
 * @version 1.0.0
 * getTime
 */
module.exports = function (){

    let date = new Date();
    let year = date.getFullYear();
    let month = date.getMonth() + 1;
    let day = date.getDate();
    let Hours = date.getHours();
    let Minutes = date.getMinutes();
    let Seconds = date.getSeconds();
    if (month < 10) {
        month = "0" + month;
    }
    if (day < 10) {
        day = "0" + day;
    }
    return year + '-' + month + '-' + day + ' ' + Hours + ':' + Minutes + ':' + Seconds;
}

